﻿<%@ Page Title="" Language="C#" MasterPageFile="~/KSLDeals/OB.master" AutoEventWireup="true" CodeFile="KSLDeals.aspx.cs" Inherits="KSLDeals_KSLDeals" %>

<%@ Register src="../DispoDDL.ascx" tagname="DispoDDL" tagprefix="uc3" %>

<%@ Register src="../DispoDDLSales.ascx" tagname="DispoDDLSales" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">

    <asp:Label ID="lblNotes" runat="server" Text="Notes" Font-Bold="True" Font-Size="Larger"></asp:Label>
    <asp:Panel ID="pNotes" runat="server" Height="130px" Width="421px" 
        Direction="LeftToRight" HorizontalAlign="Left" BackColor="White" 
        ScrollBars="Vertical" BorderColor="Black" BorderStyle="Solid" BorderWidth="1">

        <%--<asp:DataList ID="dlNotes" runat="server">
            <AlternatingItemStyle BackColor="#CCCCCC"/>
            <ItemStyle BackColor="#DDDDDD" BorderStyle="Solid" BorderWidth="1" />
            <ItemTemplate>
                &nbsp;
                <asp:Label ID="lNotetime" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"displaytime") %>'></asp:Label>
                &nbsp;-&nbsp;
                <asp:Label ID="lNoteAgent" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"displayagent") %>'></asp:Label>
                <p style="border-top:1px dashed #f00; margin-top:4px; padding-top:4px; border-top-color: #999999;"></p>
                &nbsp;
                <asp:Label ID="lNote" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"note") %>'></asp:Label>
            </ItemTemplate>
        </asp:DataList>--%>
        <asp:Label ID="lblDisplayNotes" runat="server"></asp:Label>


    </asp:Panel>
    <br />
    <asp:Panel ID="pAddNotes" runat="server" Width="421px" 
        Direction="LeftToRight" HorizontalAlign="Left" >

        <asp:TextBox ID="tbAddNote" runat="server" Width="100%" 
            Rows="4" style="overflow:auto" TextMode="MultiLine" BorderColor="Black" BorderStyle="Solid" BorderWidth="1"></asp:TextBox>
        <asp:Button ID="btnAddNote" runat="server" Text="Add Note" 
            onclick="btnAddNote_Click" />
        <asp:Label ID="lNoteError" runat="server" Text=""></asp:Label>
        <br />
        <br />
    </asp:Panel>

</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="SideContent" Runat="Server">
    
    <uc3:DispoDDL ID="DispoDDL1" runat="server" />
    <br />
    

    <asp:Panel ID="pnlContactData" runat="server" Width="340px" Direction="LeftToRight" HorizontalAlign="Left" BackColor="Silver">
    <table cellpadding="0" cellspacing="0" width="100%">
	    <caption><b>Lead Info</b></caption>
	    <tr>
	        <td width="40%">
                <asp:Label ID="lblListid" runat="server" Text="ListID" Width="80px"></asp:Label></td>
	        <td width="60%"><asp:textbox id="tbListid" runat="server" Enabled="false" Width="100%"></asp:textbox></td>
		</tr>
        <tr>
		    <td>Bus Name</td>
		    <td><asp:textbox id="tbBusinessname" tabIndex="1" runat="server" Width="100%" Enabled="false"></asp:textbox></td>				
		</tr>
		<tr>
            <td>Bus Phone</td>
            <td><asp:TextBox ID="tbBusinessPhone" runat="server" tabIndex="2" Width="100%" Enabled="false"></asp:TextBox></td>
        </tr>
        <tr>
            <td>Address</td>
            <td><asp:TextBox ID="tbAddress" runat="server" tabIndex="3" Width="100%" Enabled="false"></asp:TextBox></td>
        </tr>
        <tr>
            <td>City</td>
            <td><asp:TextBox ID="tbCity" runat="server" tabIndex="4" Width="100%" Enabled="false"></asp:TextBox></td>
        </tr>
        <tr>
            <td>State</td>
            <td><asp:TextBox ID="tbState" runat="server" MaxLength="2" TabIndex="5" Width="100%" Enabled="false"></asp:TextBox></td>
        </tr>
        <tr>
            <td>Zip</td>
            <td><asp:TextBox ID="tbZip" runat="server" MaxLength="5" TabIndex="6" Width="100%" Enabled="false"></asp:TextBox></td>
        </tr>
        <tr>
            <td>CategoryName</td>
            <td><asp:TextBox ID="tbCatName" runat="server" TabIndex="7" Width="100%" Enabled="false"></asp:TextBox></td>
        </tr>
        <tr>
            <td>ThemeName</td>
            <td><asp:TextBox ID="tbThemeName" runat="server" TabIndex="8" Width="100%" Enabled="false"></asp:TextBox></td>
        </tr>
        <tr>
            <td>Email</td>
            <td><asp:TextBox ID="tbEmail" runat="server" TabIndex="9" Width="100%"></asp:TextBox></td>
        </tr>
        <tr>
            <td>Contact Name</td>
            <td><asp:TextBox ID="tbContactName" runat="server" TabIndex="9" Width="100%"></asp:TextBox></td>
        </tr>
        <tr>
            <td>Contact Phone</td>
            <td><asp:TextBox ID="tbContactPhone" runat="server" TabIndex="9" Width="100%" MaxLength="10"></asp:TextBox></td>
            <td><asp:RegularExpressionValidator ID="rg1" runat="server" ErrorMessage="*" 
                    ControlToValidate="tbContactPhone" ValidationExpression="^\d{10}$"></asp:RegularExpressionValidator></td>            
        </tr>
        <tr>
            <td>Bus Info Verified</td>
            <td><asp:CheckBox ID="chkVerified" runat="server" /></td>
        </tr>
        <tr>  
            <td colspan="2"><asp:Label ID="lblError" runat="server" Font-Size="Small" ForeColor="Red"></asp:Label></td>
		</tr>
        <tr>
            <td colspan="2"><asp:Button ID="btnSaveEmail" runat="server" Text="Save Contact Info" tabIndex="11" onclick="btnSaveEmail_Click"/></td>
        </tr>
        <tr>
            <td colspan="2">&nbsp;</td>
        </tr>
        <tr>
            <td colspan="2">Enter TransactionID for Sale</td>
        </tr>
        <tr>
            <td>TransactionID</td>
            <td><asp:TextBox ID="tbTransID" runat="server" TabIndex="10" Width="95%"></asp:TextBox></td>
        </tr>
        <tr>  
            <td colspan="2">

                <uc1:DispoDDLSales ID="DispoDDLSales1" runat="server" />

            </td>
		</tr>
        <tr>  
            <td colspan="2"><asp:Label ID="lblSaleError" runat="server" Font-Size="Small" ForeColor="Red"></asp:Label></td>
		</tr>
	</table>
</asp:Panel>
    
</asp:Content>

